//
//  SLNavigationController.swift
//  sulit-loan
//
//  Created by 王刚锋 on 2025/4/5.
//  Copyright © 2025 coolBoy. All rights reserved.
//

import UIKit

class SLNavigationController: UINavigationController {
    override func viewDidLoad() {
        super.viewDidLoad()
    }
//    override var shouldAutorotate: Bool {
//        return self.topViewController!.shouldAutorotate
//    }
//    
//    override var prefersStatusBarHidden: Bool{
//        return self.topViewController!.prefersStatusBarHidden
//    }
//    override var supportedInterfaceOrientations: UIInterfaceOrientationMask {
//        return self.topViewController!.supportedInterfaceOrientations
//    }
//    
//    override var preferredStatusBarStyle: UIStatusBarStyle{
//        if self.presentedViewController != nil{
//            return self.presentedViewController?.preferredStatusBarStyle ?? .default
//        }else{
//            return self.topViewController?.preferredStatusBarStyle ?? .default
//        }
//    }

}
